<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="description" content="iBase4J" />
<meta name="keywords" content="iBase4J" />
<meta   http-equiv="Expires"   CONTENT="0">
<meta   http-equiv="Cache-Control"   CONTENT="no-cache">
<meta   http-equiv="Pragma"   CONTENT="no-cache">
<title>牛牛</title>
<link rel="stylesheet" href="res/css/layui.css?t=1522709297490" media="all">
<style type="text/css">
	.layui-form-item .layui-inline {
		margin-right: 0px !important;
	}
</style>
</head>

<body>
	<fieldset class="layui-elem-field layui-field-title" style="margin-top: 10px;">
		<legend>牛牛测试</legend>
	</fieldset>
	<form class="layui-form" action="">
		<input type="text" name="player_token" style="display:none;" value="1111111111111" >
		<div class="layui-form-item">
			<div class="layui-inline">
				<label class="layui-form-label">游戏</label>
				<div class="layui-input-block">
					<input type="radio" name="game_type" value="1" title="牛牛" checked="" lay-filter="game_type">
					<input type="radio" name="game_type" value="2" title="百家乐"  lay-filter="game_type">
					<input type="radio" name="game_type" value="3" title="大小单双合" lay-filter="game_type">
					<input type="radio" name="game_type" value="4" title="特码" lay-filter="game_type">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">规则</label>
				<div class="layui-input-block">
					<input type="radio" name="game_rule" value="1" title="有庄" checked=" " lay-filter="HdZJ">
					<input type="radio" name="game_rule" value="2" title="无庄"  lay-filter="HdZJ">
					<input type="radio" name="game_rule" value="3" title="比门" disabled="">
				</div>
			</div>
		</div>
		
		<div class="layui-form-item">
			<div class="layui-inline">
				<label class="layui-form-label">模式</label>
				<div class="layui-input-block">
					<input type="radio" name="game_mode" value="1" title="喝水模式"  onclick="drinkSetting" lay-filter="OnlyPoint" >
					<input type="radio" name="game_mode" value="2" title="纯算账"  lay-filter="OnlyPoint">
					<input type="radio" name="game_mode" value="3" title="积分模式" checked="" lay-filter="OnlyPoint">
				</div>
			</div>
			
			<div class="layui-inline">
				<label class="layui-form-label">玩法</label>
				<div class="layui-input-block">
					<input type="radio" name="dt" value="3" title="三位" checked="" lay-filter="dt">
					<input type="radio" name="dt" value="2" title="两位" lay-filter="dt">
					<input type="radio" name="dt" value="1" title="一位" lay-filter="dt">
				</div>
			</div>
		</div>
		
		<div id="drink_setting" style="display:none" class="layui-form-item">
			<div class="layui-inline" >
				<label class="layui-form-label">喝水设置区</label>
				<div class="layui-input-block">
					<input style="display:none" type="radio" name="drink_setting" value="1" title="倍率，金额，牛数，抢包时间 "  lay-filter="drink_setting">
					<input type="radio" name="drink_setting" value="2" title="倍率，牛数，金额，抢包时间"  checked="" lay-filter="drink_setting">
					<input type="radio" name="drink_setting" value="3" title="抢包时间"  lay-filter="drink_setting">
				</div>
			</div>
		 </div>
		<div class="layui-form-item">
			<div class="layui-inline">
				<label class="layui-form-label">特殊配置</label>
				<div class="layui-input-inline" style="width: 50px;margin-right:0px;">
					<input type="text" name="rsMax" value="0" lay-verify="required|number|rsMax"
					placeholder="几点以下认输" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-inline">以下认输</div>
			<div class="layui-inline" style="margin-right:0px;">
				<div class="layui-input-inline" style="width: 50px;margin-right:0px;">
					<input type="text" name="dpMax" value="0" lay-verify="required|number|dpMax"
					placeholder="几点以下同点庄赢" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-inline">以下同点庄赢</div>
			<div class="layui-inline" style="margin-right:0px;">
				<div class="layui-input-inline" style="width: 50px;margin-right:0px;">
					<input type="text" name="dpMinPoint" value="0" lay-verify="required|number|dpMinPoint"
					placeholder="几点以上同点打平(至牛牛)" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-inline">以上同点打平(至牛牛)</div>
			<div class="layui-inline" style="margin-right:0px;">
				<div class="layui-input-inline" style="width: 50px;margin-right:0px;">
					<input type="text" name="dpMinAmount" value="0" lay-verify="required|number|dpMinAmount"
					placeholder="几点以上同金额打平(至豹子)" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-inline">以上同金额打平(至豹子)</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-inline" style="margin-right:0px;">
                <label class="layui-form-label">上庄金额</label>
				<div class="layui-input-inline" style="width: 50px;margin-right:0px;">
					<input type="text" name="tUpZCreditScore" value="0" lay-verify="required|number"
						   placeholder="上庄金额" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-inline">是否抽水</div>
			<div class="layui-inline" >
                <div class="layui-input-block" style="margin-left:10px;margin-right: 10px;">
                    <input type="checkbox" name="isTDraw" lay-skin="switch"
                           lay-text="是|否" value="true">
                </div>
			</div>

		</div>
		<div class="layui-form-item">
			<div class="layui-inline" style="margin-right:0px;">
				<label class="layui-form-label">上庄抽水</label>
				<div class="layui-input-inline" style="width: 50px;margin-right:0px;">
					<input type="text" name="tUpZDraw" value="0" lay-verify="required|number"
						   placeholder="上庄抽水" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-inline" style="margin-right:0px;">%</div>&nbsp;&nbsp;
			<div class="layui-inline">续庄抽水：%</div>
			<div class="layui-inline" style="margin-right:0px;">
				<div class="layui-input-inline" style="width: 50px;margin-right:0px;">
					<input type="text" name="tKeppZDraw" value="0" lay-verify="required|number"
						   placeholder="续庄抽水" autocomplete="off" class="layui-input">
				</div>
			</div>
		</div>
        <div class="layui-form-item">
            <div class="layui-inline" style="margin-right:0px;">
                <label class="layui-form-label">庄赢抽水</label>
                <div class="layui-input-inline" style="width: 50px;margin-right:0px;">
                    <input type="text" name="tZWinDraw" value="0" lay-verify="required|number"
                           placeholder="庄赢抽水" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-inline">%</div>&nbsp;&nbsp;
            <div class="layui-inline">按下注人数抽水</div>
            <div class="layui-inline" style="margin-right:0px;">
                <div class="layui-input-inline" style="width: 50px;margin-right:0px;">
                    <input type="text" name="tBetPlayerSum" value="0" lay-verify="required|number"
                           placeholder="按下注人数抽水" autocomplete="off" class="layui-input">
                </div>
            </div>&nbsp;&nbsp;
            <div class="layui-inline">附加抽水</div>
            <div class="layui-inline" style="margin-right:0px;">
                <div class="layui-input-inline" style="width: 50px;margin-right:0px;">
                    <input type="text" name="tfjcs" value="0" lay-verify="required|number"
                           placeholder="附加抽水" autocomplete="off" class="layui-input">
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-inline" style="margin-right:0px;">
                <label class="layui-form-label">按下注注数抽水</label>
                <div class="layui-input-inline" style="width: 50px;margin-right:0px;">
                    <input type="text" name="tBetSum" value="0" lay-verify="required|number"
                           placeholder="几点以下同点庄赢" autocomplete="off" class="layui-input">
                </div>
            </div>&nbsp;&nbsp;
            <div class="layui-inline">盈利固定抽水费用</div>
            <div class="layui-inline" >
                <div class="layui-input-block" style="margin-left:10px;margin-right: 10px;">
                    <input type="checkbox" name="tZWinGdDraw" lay-skin="switch"
                           lay-text="是|否" value="true">
                </div>
            </div>&nbsp;&nbsp;
            <div class="layui-inline">庄固定扣费</div>
            <div class="layui-inline" style="margin-right:0px;">
                <div class="layui-input-inline" style="width: 50px;margin-right:0px;">
                    <input type="text" name="tZGdDraw" value="0" lay-verify="required|number"
                           placeholder="庄固定扣费" autocomplete="off" class="layui-input">
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-inline" style="margin-right:0px;">
                <label class="layui-form-label">普通抽水</label>
                <div class="layui-input-inline" style="width: 50px;margin-right:0px;">
                    <input type="text" name="tPtDraw" value="0" lay-verify="required|number"
                           placeholder="普通抽水" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-inline">%</div>&nbsp;&nbsp;
            <div class="layui-inline">梭哈抽水</div>
            <div class="layui-inline" style="margin-right:0px;">
                <div class="layui-input-inline" style="width: 50px;margin-right:0px;">
                    <input type="text" name="tPokerDraw" value="0" lay-verify="required|number"
                           placeholder="梭哈抽水" autocomplete="off" class="layui-input">
                </div>
            </div>
        </div>
		<!--<div class="layui-form-item">
			<div class="layui-inline" style="margin-right:0px;">
				<label class="layui-form-label">闲家固定抽水</label>
				<div class="layui-input-inline" style="width: 50px;margin-right:0px;">
					<input type="text" name="tXianGdDraw" value="0" lay-verify="required|number"
						   placeholder="闲家固定抽水" autocomplete="off" class="layui-input">
				</div>
			</div>&nbsp;&nbsp;
			<div class="layui-inline">是否开启闲赢抽水</div>
			<div class="layui-inline" style="margin-right:0px;">
				<div class="layui-inline" >
					<div class="layui-input-block" style="margin-left:10px;margin-right:10px;">
						<input type="checkbox" name="isTXianWinDraw" lay-skin="switch"
							   lay-text="是|否" value="true">
					</div>
				</div>
			</div>
		</div>-->
		<div class="layui-form-item">
			<div class="layui-inline">
				<label class="layui-form-label">同点数</label>
				<div class="layui-input-block" id="d_samePoint">
					<input type="radio" name="samePoint" value="1" title="比金额" checked="" lay-filter="samePoint">
					<input type="radio" name="samePoint" value="2" title="比角分" lay-filter="samePoint">
					<input type="radio" name="samePoint" value="3" title="比分" lay-filter="samePoint">
					<input type="radio" name="samePoint" value="4" title="庄赢" lay-filter="samePoint">
					<input type="radio" name="samePoint" value="5" title="打平" lay-filter="samePoint">
				</div>
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-inline">
				<label class="layui-form-label">分相同比角</label>
				<div class="layui-input-block">
					<input type="checkbox" disabled="" name="cmpFrontOne" lay-skin="switch"
						lay-text="是|否" value="Y">
				</div>
			</div>
			<div class="layui-inline" style="width: 200px;">
				<label class="layui-form-label" style="width: 100px;">角分相同比金额</label>
				<div class="layui-input-block">
					<input type="checkbox" disabled="" name="cmpAmount" lay-skin="switch"
						lay-text="是|否" value="Y">
				</div>
			</div>
			<!-- <div class="layui-inline">
				<label class="layui-form-label">同点同金额</label>
				<div class="layui-input-block" id="d_samePat">
					<input type="radio" name="samePat" value="1" title="打平" checked="">
					<input type="radio" name="samePat" value="2" title="庄赢">
				</div>
			</div> -->
		</div>
		
		<div class="layui-form-item">
			<div class="layui-inline">
				<label class="layui-form-label" style="font-size:13px;">庄家超时时间</label>
				<div class="layui-input-block" style="width:50px">
					<input type="text" name="mainTime" value="10" lay-verify="required|number"
						placeholder="庄家超时时间" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label" style="font-size:13px;">闲家超时时间</label>
				<div class="layui-input-block" style="width:50px">
					<input type="text" name="playerTime" value="10" lay-verify="required|number"
						placeholder="闲家超时时间" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">庄闲都超时</label>
				<div class="layui-input-block">
					<input type="radio" name="doubleTimeout" value="1" title="打平" checked>
					<input type="radio" name="doubleTimeout" value="2" title="庄赢">
					<input type="radio" name="doubleTimeout" value="3" title="闲平赔">
				</div>
			</div>
		</div>
		
		<div class="layui-form-item">
			<label class="layui-form-label">庄家超时</label>
			<div class="layui-input-block">
				<input type="radio" name="mainTimeout" value="1" title="全赔">
				<input type="radio" name="mainTimeout" value="2" title="平赔">
				<input type="radio" name="mainTimeout" value="3" title="打平">
				<input type="radio" name="mainTimeout" value="4" title="允许" checked>
				<input type="radio" name="mainTimeout" value="5" title="大平小赔">
			</div>
            <label class="layui-form-label">自买点数</label>
            <div class="layui-input-block">
                <input type="checkbox" value="true" name="zfreeBuy" lay-skin="switch">
            </div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label">闲家超时</label>
			<div class="layui-input-block">
				<input type="radio" name="playerTimeout" value="1" title="全赔">
				<input type="radio" name="playerTimeout" value="2" title="平赔">
				<input type="radio" name="playerTimeout" value="3" title="打平">
				<input type="radio" name="playerTimeout" value="4" title="允许" checked>
				<input type="radio" name="playerTimeout" value="5" title="大平小赔">
			</div>
            <label class="layui-form-label">自买点数</label>
            <div class="layui-input-block">
                <input type="checkbox" value="true" name="xfreeBuy" lay-skin="switch">
            </div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">庄家头包</label>
			<div class="layui-input-block">
				<input type="radio" name="mainFirst" value="1" title="全陪">
				<input type="radio" name="mainFirst" value="2" title="平陪">
				<input type="radio" name="mainFirst" value="3" title="允许" checked>
				<div class="layui-inline" style="margin-bottom: -8px;margin-left: -34px;">
					<label class="layui-form-label" style="font-size:13px;">梭哈赔%</label>
					<div class="layui-input-block" style="width:50px;">
						<input type="text" name="poker" value="10" lay-verify="required|number"
							   placeholder="梭哈赔百分比" autocomplete="off" class="layui-input"/>
					</div>
				</div>
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">庄家无包</label>
			<div class="layui-input-block">
				<input type="radio" name="mainNone" value="1" title="算最后一个包">
				<input type="radio" name="mainNone" value="2" title="倒数第二包">
				<input type="radio" name="mainNone" value="3" title="被抢包" checked>
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-inline">
				<label class="layui-form-label">闲家无包</label>
				<div class="layui-input-block">
					<input type="radio" name="playerNone" value="1" title="算最后一个包">
					<input type="radio" name="playerNone" value="2" title="倒数第二包">
					<input type="radio" name="playerNone" value="3" title="全赔" checked>
					<input type="radio" name="playerNone" value="4" title="平陪">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label" style="font-size:13px;">抢错包扣积分</label>
				<div class="layui-input-block" style="width:50px;">
					<input type="text" name="punishScore" value="10" lay-verify="required|number"
							placeholder="抢错包扣积分" autocomplete="off" class="layui-input" />
				</div>
			</div>
		</div>

		<div class="layui-form-item">
			<div class="layui-inline">
				<label class="layui-form-label">大小抓合</label>
				<div class="layui-input-block">
					<input type="radio" name="catchUs" value="1" title="抓合不赔" checked>
					<input type="radio" name="catchUs" value="2" title="抓合赔一半">
					<input type="radio" name="catchUs" value="3" title="抓合平赔">
				</div>
			</div>
		</div>

		<div class="layui-form-item">
			<div class="layui-inline">
				<label class="layui-form-label">特码抓合</label>
				<div class="layui-input-block">
					<input type="radio" name="tmCatchUs" value="1" title="抓合不赔" checked>
					<input type="radio" name="tmCatchUs" value="2" title="抓合赔一半">
					<input type="radio" name="tmCatchUs" value="3" title="抓合平赔">
				</div>
			</div>
		</div>
              
          <div class ="layui-form-item">
                <label class="layui-form-label">0.01算什么</label>
                <div class="layui-input-block">
                     <input type="radio" name="oneFen" value="1" title="算1点" checked>
                     <input type="radio" name="oneFen" value="2" title="闲免死/庄重推">
                </div>
          </div>
		
		<div class="layui-form-item">
			<label class="layui-form-label">金牛种类</label>
			<div class="layui-input-block">
				<input type="radio" name="jnt" value="1" title="0.10,0.20,0.30,0.40到0.90">
				<input type="radio" name="jnt" value="2" title="0.10,1.10,2.10,3.10到9.10" checked="">
				<input type="radio" name="jnt" value="3" title="0.10,1.10">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">对子种类</label>
			<div class="layui-input-block">
				<input type="radio" name="dzt" value="1" title="0.11,0.22,0.33.0.44到0.99">
				<input type="radio" name="dzt" value="2" title="0.11,0.22,0.33.0.44...0.99,1.22,1,33..1.99...2.11..2.33..2.99到9.88" checked="">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">同对子比较</label>
			<div class="layui-input-block">
				<input type="radio" name="tdzb" value="1" title="比金额" checked="">
				<input type="radio" name="tdzb" value="2" title="比尾数">
				<input type="radio" name="tdzb" value="3" title="先比尾后比金额" >
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">顺子种类</label>
			<div class="layui-input-block">
				<input type="radio" name="szt" value="1" title="0.12,1.23,2.34,3.45到7.89" checked="">
				<input type="radio" name="szt" value="2" title="1.23,2.34,3.45,4.56,到7.89">
			</div>
		</div>
		
		<div class="layui-form-item" style="padding-left:40px;">
			<div class="layui-text">注：倒顺 (9.87,8.76,7.65到3.21)；满牛 (1.00,2.00,3.00,4.00到9.00)；豹子 (1.11,2.22,3.33,4.44,5.55到9.99)</div>
		</div>
		<!-- <fieldset class="layui-elem-field layui-field-title" style="margin-right: 20px;margin-left:20px">
			<legend>倍率配置</legend>
		</fieldset> -->
		<div id="powers" style="display:none">
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">牛1</label>
					<div class="layui-input-block">
						<input type="hidden" name="powers.point" value="1" />
						<input type="hidden" name="powers.isOpen" value="Y" />
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">牛数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.niuPoint" value="1" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">倍数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.power" value="1" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
                <div class="layui-inline">
                    <label class="layui-form-label">注数</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.betSum" value="1" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">盈利抽水%</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.xianWinDrow" value="1" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">盈利固定抽水</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.winGdDrow" value="1" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
			</div>
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">牛2</label>
					<div class="layui-input-block">
						<input type="hidden" name="powers.point" value="2" />
						<input type="hidden" name="powers.isOpen" value="Y" />
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">牛数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.niuPoint" value="2" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">倍数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.power" value="2" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
                <div class="layui-inline">
                    <label class="layui-form-label">注数</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.betSum" value="1" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">盈利抽水%</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.xianWinDrow" value="1" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">盈利固定抽水</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.winGdDrow" value="1" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>

			</div>
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">牛3</label>
					<div class="layui-input-block">
						<input type="hidden" name="powers.point" value="3" />
						<input type="hidden" name="powers.isOpen" value="Y" />
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">牛数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.niuPoint" value="3" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">倍数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.power" value="3" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
                <div class="layui-inline">
                    <label class="layui-form-label">注数</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.betSum" value="1" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">盈利抽水%</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.xianWinDrow" value="1" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">盈利固定抽水</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.winGdDrow" value="1" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
			</div>
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">牛4</label>
					<div class="layui-input-block">
						<input type="hidden" name="powers.point" value="4" />
						<input type="hidden" name="powers.isOpen" value="Y" />
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">牛数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.niuPoint" value="4" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">倍数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.power" value="4" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
                <div class="layui-inline">
                    <label class="layui-form-label">注数</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.betSum" value="1" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">盈利抽水%</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.xianWinDrow" value="1" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">盈利固定抽水</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.winGdDrow" value="1" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
			</div>
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">牛5</label>
					<div class="layui-input-block">
						<input type="hidden" name="powers.point" value="5" />
						<input type="hidden" name="powers.isOpen" value="Y" />
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">牛数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.niuPoint" value="5" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">倍数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.power" value="5" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
                <div class="layui-inline">
                    <label class="layui-form-label">注数</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.betSum" value="1" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">盈利抽水%</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.xianWinDrow" value="1" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">盈利固定抽水</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.winGdDrow" value="1" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
			</div>
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">牛6</label>
					<div class="layui-input-block">
						<input type="hidden" name="powers.point" value="6" />
						<input type="hidden" name="powers.isOpen" value="Y" />
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">牛数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.niuPoint" value="6" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">倍数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.power" value="6" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
                <div class="layui-inline">
                    <label class="layui-form-label">注数</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.betSum" value="1" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">盈利抽水%</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.xianWinDrow" value="1" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">盈利固定抽水</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.winGdDrow" value="1" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
			</div>
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">牛7</label>
					<div class="layui-input-block">
						<input type="hidden" name="powers.point" value="7" />
						<input type="hidden" name="powers.isOpen" value="Y" />
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">牛数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.niuPoint" value="7" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">倍数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.power" value="7" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
                <div class="layui-inline">
                    <label class="layui-form-label">注数</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.betSum" value="1" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">盈利抽水%</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.xianWinDrow" value="1" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">盈利固定抽水</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.winGdDrow" value="1" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
			</div>
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">牛8</label>
					<div class="layui-input-block">
						<input type="hidden" name="powers.point" value="8" />
						<input type="hidden" name="powers.isOpen" value="Y" />
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">牛数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.niuPoint" value="8" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">倍数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.power" value="8" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
                <div class="layui-inline">
                    <label class="layui-form-label">注数</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.betSum" value="1" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">盈利抽水%</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.xianWinDrow" value="1" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">盈利固定抽水</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.winGdDrow" value="1" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
			</div>
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">牛9</label>
					<div class="layui-input-block">
						<input type="hidden" name="powers.point" value="9" />
						<input type="hidden" name="powers.isOpen" value="Y" />
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">牛数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.niuPoint" value="9" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">倍数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.power" value="9" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
                <div class="layui-inline">
                    <label class="layui-form-label">注数</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.betSum" value="1" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">盈利抽水%</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.xianWinDrow" value="1" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">盈利固定抽水</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.winGdDrow" value="1" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
			</div>
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">牛牛</label>
					<div class="layui-input-block">
						<input type="hidden" name="powers.point" value="10" />
						<input type="hidden" name="powers.isOpen" value="Y" />
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">牛数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.niuPoint" value="10" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">倍数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.power" value="10" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
                <div class="layui-inline">
                    <label class="layui-form-label">注数</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.betSum" value="1" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">盈利抽水%</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.xianWinDrow" value="1" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">盈利固定抽水</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.winGdDrow" value="1" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
			</div>
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">金牛</label>
					<div class="layui-input-block">
						<input type="hidden" name="powers.point" value="11" />
						<input type="checkbox" name="powers.isOpen" lay-skin="switch" checked=""
							lay-text="开|关" value="Y">
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">牛数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.niuPoint" value="11" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">倍数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.power" value="11" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
                <div class="layui-inline">
                    <label class="layui-form-label">注数</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.betSum" value="1" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">盈利抽水%</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.xianWinDrow" value="1" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">盈利固定抽水</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.winGdDrow" value="1" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
                 <div class="layui-inline">
                      <label class="layui-form-label">打合</label> 
                      <input type="checkbox" name="powers.isDogfall" lay-skin="switch" lay-text="开|关" value="Y">
		      	</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">对子</label>
					<div class="layui-input-block">
						<input type="hidden" name="powers.point" value="12" />
						<input type="checkbox" name="powers.isOpen" lay-skin="switch" checked=""
							lay-text="开|关" value="Y">
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">牛数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.niuPoint" value="12" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">倍数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.power" value="12" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
                <div class="layui-inline">
                    <label class="layui-form-label">注数</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.betSum" value="1" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">盈利抽水%</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.xianWinDrow" value="1" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">盈利固定抽水</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.winGdDrow" value="1" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
                 <div class="layui-inline">
                      <label class="layui-form-label">打合</label> 
                      <input type="checkbox" name="powers.isDogfall" lay-skin="switch" lay-text="开|关" value="Y">
		      	</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">顺子</label>
					<div class="layui-input-block">
						<input type="hidden" name="powers.point" value="13" />
						<input type="checkbox" name="powers.isOpen" lay-skin="switch" checked=""
							lay-text="开|关" value="Y">
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">牛数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.niuPoint" value="13" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">倍数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.power" value="13" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
                <div class="layui-inline">
                    <label class="layui-form-label">注数</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.betSum" value="1" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">盈利抽水%</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.xianWinDrow" value="1" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">盈利固定抽水</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.winGdDrow" value="1" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
                 <div class="layui-inline">
                      <label class="layui-form-label">打合</label> 
                      <input type="checkbox" name="powers.isDogfall" lay-skin="switch" lay-text="开|关" value="Y">
		      	</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">倒顺</label>
					<div class="layui-input-block">
						<input type="hidden" name="powers.point" value="14" />
						<input type="checkbox" name="powers.isOpen" lay-skin="switch" checked=""
							lay-text="开|关" value="Y">
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">牛数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.niuPoint" value="14" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">倍数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.power" value="14" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
                <div class="layui-inline">
                    <label class="layui-form-label">注数</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.betSum" value="1" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">盈利抽水%</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.xianWinDrow" value="1" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">盈利固定抽水</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.winGdDrow" value="1" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
                 <div class="layui-inline">
                      <label class="layui-form-label">打合</label> 
                      <input type="checkbox" name="powers.isDogfall" lay-skin="switch" lay-text="开|关" value="Y">
		      	</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">满牛</label>
					<div class="layui-input-block">
						<input type="hidden" name="powers.point" value="15" />
						<input type="checkbox" name="powers.isOpen" lay-skin="switch" checked=""
							lay-text="开|关" value="Y">
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">牛数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.niuPoint" value="15" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">倍数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.power" value="15" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
                <div class="layui-inline">
                    <label class="layui-form-label">注数</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.betSum" value="1" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">盈利抽水%</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.xianWinDrow" value="1" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">盈利固定抽水</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.winGdDrow" value="1" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
                 <div class="layui-inline">
                      <label class="layui-form-label">打合</label> 
                      <input type="checkbox" name="powers.isDogfall" lay-skin="switch" lay-text="开|关" value="Y">
		      	</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">豹子</label>
					<div class="layui-input-block">
						<input type="hidden" name="powers.point" value="16" />
						<input type="checkbox" name="powers.isOpen" lay-skin="switch" checked=""
							lay-text="开|关" value="Y">
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">牛数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.niuPoint" value="16" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">倍数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.power" value="16" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
                <div class="layui-inline">
                    <label class="layui-form-label">注数</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.betSum" value="1" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">盈利抽水%</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.xianWinDrow" value="1" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">盈利固定抽水</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.winGdDrow" value="1" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
                 <div class="layui-inline">
                      <label class="layui-form-label">打合</label> 
                      <input type="checkbox" name="powers.isDogfall" lay-skin="switch" lay-text="开|关" value="Y">
		      	</div>
			</div>
		</div>


		<div id="powersSize" style="display: none">
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">大</label>
					<div class="layui-input-block">
						<input type="hidden" name="powers.point" value="17" />
						<input type="hidden" name="powers.isOpen" value="Y" />
					</div>
				</div>
				<div class="layui-inline" style="display: none">
					<label class="layui-form-label">牛数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.guessSize" value="17" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">倍数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.power" value="1" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">小</label>
					<div class="layui-input-block">
						<input type="hidden" name="powers.point" value="18" />
						<input type="hidden" name="powers.isOpen" value="Y" />
					</div>
				</div>
				<div class="layui-inline" style="display: none">
					<label class="layui-form-label">牛数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.guessSize" value="18" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">倍数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.power" value="1" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">单</label>
					<div class="layui-input-block">
						<input type="hidden" name="powers.point" value="19" />
						<input type="hidden" name="powers.isOpen" value="Y" />
					</div>
				</div>
				<div class="layui-inline" style="display: none">
					<label class="layui-form-label">牛数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.guessSize" value="19" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">倍数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.power" value="1" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">双</label>
					<div class="layui-input-block">
						<input type="hidden" name="powers.point" value="20" />
						<input type="hidden" name="powers.isOpen" value="Y" />
					</div>
				</div>
				<div class="layui-inline" style="display: none">
					<label class="layui-form-label">牛数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.guessSize" value="20" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">倍数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.power" value="1" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">合</label>
					<div class="layui-input-block">
						<input type="hidden" name="powers.point" value="21" />
						<input type="hidden" name="powers.isOpen" value="Y" />
					</div>
				</div>
				<div class="layui-inline" style="display: none">
					<label class="layui-form-label">牛数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.guessSize" value="21" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">倍数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.power" value="1" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">大单</label>
					<div class="layui-input-block">
						<input type="hidden" name="powers.point" value="22" />
						<input type="hidden" name="powers.isOpen" value="Y" />
					</div>
				</div>
				<div class="layui-inline" style="display: none">
					<label class="layui-form-label">牛数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.guessSize" value="22" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">倍数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.power" value="1" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">小单</label>
					<div class="layui-input-block">
						<input type="hidden" name="powers.point" value="23" />
						<input type="hidden" name="powers.isOpen" value="Y" />
					</div>
				</div>
				<div class="layui-inline" style="display: none">
					<label class="layui-form-label">牛数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.guessSize" value="23" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">倍数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.power" value="1" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">大双</label>
					<div class="layui-input-block">
						<input type="hidden" name="powers.point" value="24" />
						<input type="hidden" name="powers.isOpen" value="Y" />
					</div>
				</div>
				<div class="layui-inline" style="display: none">
					<label class="layui-form-label">牛数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.guessSize" value="24" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">倍数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.power" value="1" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">小双</label>
					<div class="layui-input-block">
						<input type="hidden" name="powers.point" value="25" />
						<input type="hidden" name="powers.isOpen" value="Y" />
					</div>
				</div>
				<div class="layui-inline" style="display: none">
					<label class="layui-form-label">牛数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.guessSize" value="25" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">倍数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.power" value="1" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">特码</label>
				</div>
				<div class="layui-inline" style="display: none">
					<label class="layui-form-label">牛数</label>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">倍数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" id="tema" value="10" lay-verify="required|number" lay-filter="tema" onBlur="a()"  class="layui-input" />
					</div>
				</div>
			</div>
		</div>

        <div id="orientation" style="display: none">
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">牛一</label>
					<div class="layui-input-block">
						<input type="hidden" name="powers.point" value="26" />
						<input type="hidden" name="powers.isOpen" value="Y" />
					</div>
                </div>
                <div class="layui-inline" style="display: none">
                    <label class="layui-form-label">牛数</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.betPoint" value="26" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">倍数</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.power" value="10" lay-verify="required|number" class="layui-input orientation" />
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">牛二</label>
                </div>
                <div class="layui-inline" style="display: none">
                    <label class="layui-form-label">牛数</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.betPoint" value="27" lay-verify="required|number" class="layui-input" />
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">倍数</label>
                    <div class="layui-input-block" style="width:50px">
                        <input type="text" name="powers.power" value="10" lay-verify="required|number" class="layui-input orientation" />
                    </div>
                </div>
            </div><div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">牛三</label>

            </div>
            <div class="layui-inline" style="display: none">
                <label class="layui-form-label">牛数</label>
                <div class="layui-input-block" style="width:50px">
                    <input type="text" name="powers.betPoint" value="28" lay-verify="required|number" class="layui-input" />
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">倍数</label>
                <div class="layui-input-block" style="width:50px">
                    <input type="text" name="powers.power" value="10" lay-verify="required|number" class="layui-input orientation" />
                </div>
            </div>
        </div><div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">牛四</label>
            </div>
            <div class="layui-inline" style="display: none">
                <label class="layui-form-label">牛数</label>
                <div class="layui-input-block" style="width:50px">
                    <input type="text" name="powers.betPoint" value="29" lay-verify="required|number" class="layui-input" />
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">倍数</label>
                <div class="layui-input-block" style="width:50px">
                    <input type="text" name="powers.power" value="10" lay-verify="required|number" class="layui-input orientation" />
                </div>
            </div>
        </div><div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">牛五</label>
            </div>
            <div class="layui-inline" style="display: none">
                <label class="layui-form-label">牛数</label>
                <div class="layui-input-block" style="width:50px">
                    <input type="text" name="powers.betPoint" value="30" lay-verify="required|number" class="layui-input" />
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">倍数</label>
                <div class="layui-input-block" style="width:50px">
                    <input type="text" name="powers.power" value="10" lay-verify="required|number" class="layui-input orientation" />
                </div>
            </div>
        </div><div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">牛六</label>
            </div>
            <div class="layui-inline" style="display: none">
                <label class="layui-form-label">牛数</label>
                <div class="layui-input-block" style="width:50px">
                    <input type="text" name="powers.betPoint" value="31" lay-verify="required|number" class="layui-input" />
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">倍数</label>
                <div class="layui-input-block" style="width:50px">
                    <input type="text" name="powers.power" value="10" lay-verify="required|number" class="layui-input orientation" />
                </div>
            </div>
        </div><div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">牛七</label>
            </div>
            <div class="layui-inline" style="display: none">
                <label class="layui-form-label">牛数</label>
                <div class="layui-input-block" style="width:50px">
                    <input type="text" name="powers.betPoint" value="32" lay-verify="required|number" class="layui-input" />
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">倍数</label>
                <div class="layui-input-block" style="width:50px">
                    <input type="text" name="powers.power" value="10" lay-verify="required|number" class="layui-input orientation" />
                </div>
            </div>
        </div><div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">牛八</label>
            </div>
            <div class="layui-inline" style="display: none">
                <label class="layui-form-label">牛数</label>
                <div class="layui-input-block" style="width:50px">
                    <input type="text" name="powers.betPoint" value="33" lay-verify="required|number" class="layui-input" />
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">倍数</label>
                <div class="layui-input-block" style="width:50px">
                    <input type="text" name="powers.power" value="10" lay-verify="required|number" class="layui-input orientation" />
                </div>
            </div>
        </div><div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">牛九</label>
            </div>
            <div class="layui-inline" style="display: none">
                <label class="layui-form-label">牛数</label>
                <div class="layui-input-block" style="width:50px">
                    <input type="text" name="powers.betPoint" value="34" lay-verify="required|number" class="layui-input" />
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">倍数</label>
                <div class="layui-input-block" style="width:50px">
                    <input type="text" name="powers.power" value="10" lay-verify="required|number" class="layui-input orientation" />
                </div>
            </div>
        </div><div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">牛牛</label>
            </div>
            <div class="layui-inline" style="display: none">
                <label class="layui-form-label">牛数</label>
                <div class="layui-input-block" style="width:50px">
                    <input type="text" name="powers.betPoint" value="35" lay-verify="required|number" class="layui-input" />
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">倍数</label>
                <div class="layui-input-block" style="width:50px">
                    <input type="text" name="powers.power" value="10" lay-verify="required|number" class="layui-input orientation" />
                </div>
            </div>
        </div>
        </div>
		<div id="baccarat" style="display: none">
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">庄</label>
					<div class="layui-input-block">
						<input type="hidden" name="powers.isOpen" value="Y" />
					</div>
				</div>
				<div class="layui-inline" style="display: none">
					<label class="layui-form-label">牛数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.betPoint" value="36" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">倍数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.power" value="10" lay-verify="required|number" class="layui-input orientation" />
					</div>
				</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">闲</label>
				</div>
				<div class="layui-inline" style="display: none">
					<label class="layui-form-label">牛数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.betPoint" value="37" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">倍数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.power" value="10" lay-verify="required|number" class="layui-input orientation" />
					</div>
				</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">和</label>

				</div>
				<div class="layui-inline" style="display: none">
					<label class="layui-form-label">牛数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.betPoint" value="38" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">倍数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.power" value="10" lay-verify="required|number" class="layui-input orientation" />
					</div>
				</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">庄对</label>
				</div>
				<div class="layui-inline" style="display: none">
					<label class="layui-form-label">牛数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.betPoint" value="39" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">倍数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.power" value="10" lay-verify="required|number" class="layui-input orientation" />
					</div>
				</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">闲对</label>
				</div>
				<div class="layui-inline" style="display: none">
					<label class="layui-form-label">牛数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.betPoint" value="40" lay-verify="required|number" class="layui-input" />
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">倍数</label>
					<div class="layui-input-block" style="width:50px">
						<input type="text" name="powers.power" value="10" lay-verify="required|number" class="layui-input orientation" />
					</div>
				</div>
			</div>
		</div>
		
		<fieldset class="layui-elem-field layui-field-title" style="margin-right: 20px;margin-left:20px">
			<legend>用户红包</legend>
		</fieldset>
		
		<div class="layui-form-item">
			<input type="hidden" name="players.wxId" value="A">
			<input type="hidden" name="players.playerId" value="1">
			<div class="layui-inline">
				<label class="layui-form-label">玩家A</label>
				<div class="layui-input-block">
					<input type="radio" name="players.isZj" title="庄家"  checked="" value="Y">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label" style="width:50px">红包</label>
				<div class="layui-input-block" style="width:60px;margin-left:80px">
					<input type="text" name="players.amount" lay-verify="required|number"
						placeholder="请输入金额" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">用时</label>
				<div class="layui-input-inline" style="width:50px">
					<input type="text" name="players.time" lay-verify="required|number"
						placeholder="请输入抢红包用时" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">押注</label>
				<div class="layui-input-inline" style="width:200px">
					<input type="hidden" name="players.betNo" value="0">
					<input type="text" name="players.betStr"
						placeholder="请输入押注" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">积分</label>
				<div class="layui-input-inline" style="width:50px">
					<input type="text" name="players.orgCreditScore" lay-verify="required|number"
						placeholder="请输入积分" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-inline" style="margin-left: 30px;">
				<input type="checkbox" name="players.isExe" title="异常认尾1"  value="Y1" lay-filter="mainIsEx">
				<input type="checkbox" name="players.isExe" title="异常认尾2"  value="Y2" lay-filter="mainIsEx">
			</div>
		</div>
		<div class="layui-form-item">
			<input type="hidden" name="players.wxId" value="B">
			<input type="hidden" name="players.playerId" value="2">
			<div class="layui-inline">
				<label class="layui-form-label">玩家B</label>
				<div class="layui-input-block">
					<input type="radio" name="players.isZj" title="庄家" value="N" disabled="">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label" style="width:50px">红包</label>
				<div class="layui-input-block" style="width:60px;margin-left:80px;">
					<input type="text" name="players.amount" lay-verify="required|number"
						placeholder="请输入金额" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">用时</label>
				<div class="layui-input-inline" style="width:50px">
					<input type="text" name="players.time" lay-verify="required|number"
						placeholder="请输入抢红包用时" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">押注</label>
				<div class="layui-input-inline" style="width:200px">
					<input type="hidden" name="players.betNo" value="6">
					<input type="text" name="players.betStr"
						placeholder="请输入押注" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">积分</label>
				<div class="layui-input-inline" style="width:50px">
					<input type="text" name="players.orgCreditScore" lay-verify="required|number"
						placeholder="请输入积分" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-inline" style="margin-left: 30px;">
				<input type="checkbox" name="players.isExe" title="异常"  value="Y">
			</div>
		</div>
		<div class="layui-form-item">
			<input type="hidden" name="players.wxId" value="C">
			<input type="hidden" name="players.playerId" value="3">
			<div class="layui-inline">
				<label class="layui-form-label">玩家C</label>
				<div class="layui-input-block">
					<input type="radio" name="players.isZj" title="庄家" value="N" disabled="">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label" style="width:50px">红包</label>
				<div class="layui-input-block" style="width:60px;margin-left:80px;">
					<input type="text" name="players.amount" lay-verify="required|number"
						placeholder="请输入金额" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">用时</label>
				<div class="layui-input-inline" style="width:50px">
					<input type="text" name="players.time" lay-verify="required|number"
						placeholder="请输入抢红包用时" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">押注</label>
				<div class="layui-input-inline" style="width:200px">
					<input type="hidden" name="players.betNo" value="5">
					<input type="text" name="players.betStr"
						placeholder="请输入押注" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">积分</label>
				<div class="layui-input-inline" style="width:50px">
					<input type="text" name="players.orgCreditScore" lay-verify="required|number"
						placeholder="请输入积分" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-inline" style="margin-left: 30px;">
				<input type="checkbox" name="players.isExe" title="异常"  value="Y">
			</div>
		</div>
		<div class="layui-form-item">
			<input type="hidden" name="players.wxId" value="D">
			<input type="hidden" name="players.playerId" value="4">
			<div class="layui-inline">
				<label class="layui-form-label">玩家D</label>
				<div class="layui-input-block">
					<input type="radio" name="players.isZj" title="庄家" value="N" disabled="">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label" style="width:50px">红包</label>
				<div class="layui-input-block" style="width:60px;margin-left:80px;">
					<input type="text" name="players.amount" lay-verify="required|number"
						placeholder="请输入金额" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">用时</label>
				<div class="layui-input-inline" style="width:50px">
					<input type="hidden" name="players.betNo" value="4">
					<input type="text" name="players.time" lay-verify="required|number"
						placeholder="请输入抢红包用时" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">押注</label>
				<div class="layui-input-inline" style="width:200px">
					<input type="text" name="players.betStr"
						placeholder="请输入押注" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">积分</label>
				<div class="layui-input-inline" style="width:50px">
					<input type="text" name="players.orgCreditScore" lay-verify="required|number"
						placeholder="请输入积分" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-inline" style="margin-left: 30px;">
				<input type="checkbox" name="players.isExe" title="异常"  value="Y">
			</div>
		</div>
		<div class="layui-form-item">
			<input type="hidden" name="players.wxId" value="E">
			<input type="hidden" name="players.playerId" value="5">
			<div class="layui-inline">
				<label class="layui-form-label">玩家E</label>
				<div class="layui-input-block">
					<input type="radio" name="players.isZj" title="庄家" value="N" disabled="">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label" style="width:50px">红包</label>
				<div class="layui-input-block" style="width:60px;margin-left:80px;">
					<input type="text" name="players.amount" lay-verify="required|number"
						placeholder="请输入金额" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">用时</label>
				<div class="layui-input-inline" style="width:50px">
					<input type="text" name="players.time" lay-verify="required|number"
						placeholder="请输入抢红包用时" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">押注</label>
				<div class="layui-input-inline" style="width:200px">
					<input type="hidden" name="players.betNo" value="3">
					<input type="text" name="players.betStr"
						placeholder="请输入押注" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">积分</label>
				<div class="layui-input-inline" style="width:50px">
					<input type="text" name="players.orgCreditScore" lay-verify="required|number"
						placeholder="请输入积分" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-inline" style="margin-left: 30px;">
				<input type="checkbox" name="players.isExe" title="异常"  value="Y">
			</div>
		</div>
		<div class="layui-form-item">
			<input type="hidden" name="players.wxId" value="F">
			<input type="hidden" name="players.playerId" value="6">
			<div class="layui-inline">
				<label class="layui-form-label">玩家F</label>
				<div class="layui-input-block">
					<input type="radio" name="players.isZj" title="庄家" value="N" disabled="">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label" style="width:50px">红包</label>
				<div class="layui-input-block" style="width:60px;margin-left:80px;">
					<input type="text" name="players.amount" lay-verify="required|number"
						placeholder="请输入金额" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">用时</label>
				<div class="layui-input-inline" style="width:50px">
					<input type="text" name="players.time" lay-verify="required|number"
						placeholder="请输入抢红包用时" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">押注</label>
				<div class="layui-input-inline" style="width:200px">
					<input type="hidden" name="players.betNo" value="2">
					<input type="text" name="players.betStr"
						placeholder="请输入押注" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">积分</label>
				<div class="layui-input-inline" style="width:50px">
					<input type="text" name="players.orgCreditScore" lay-verify="required|number"
						placeholder="请输入积分" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-inline" style="margin-left: 30px;">
				<input type="checkbox" name="players.isExe" title="异常"  value="Y">
			</div>
		</div>
		<div class="layui-form-item">
			<input type="hidden" name="players.wxId" value="G">
			<input type="hidden" name="players.playerId" value="7">
			<div class="layui-inline">
				<label class="layui-form-label">玩家G</label>
				<div class="layui-input-block">
					<input type="radio" name="players.isZj" title="庄家" value="N" disabled="">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label" style="width:50px">红包</label>
				<div class="layui-input-block" style="width:60px;margin-left:80px;">
					<input type="text" name="players.amount" lay-verify="required|number"
						placeholder="请输入金额" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">用时</label>
				<div class="layui-input-inline" style="width:50px">
					<input type="text" name="players.time" lay-verify="required|number"
						placeholder="请输入抢红包用时" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">押注</label>
				<div class="layui-input-inline" style="width:200px">
					<input type="hidden" name="players.betNo" value="1">
					<input type="text" name="players.betStr"
						placeholder="请输入押注" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">积分</label>
				<div class="layui-input-inline" style="width:50px">
					<input type="text" name="players.orgCreditScore" lay-verify="required|number"
						placeholder="请输入积分" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-inline" style="margin-left: 30px;">
				<input type="checkbox" name="players.isExe" title="异常"  value="Y">
			</div>
		</div>

		<div class="layui-form-item">
			<div class="layui-input-block">
				<button id="powersSizebtn" style="display: none" class="layui-btn layui-btn-primary" lay-submit=""  lay-filter="powersSize">大小单双配置</button>
                <button id="baccaratbtn" style="display: none" class="layui-btn layui-btn-primary" lay-submit=""  lay-filter="baccarat">百家乐配置</button>
				<button id="powersbtn"  class="layui-btn layui-btn-primary" lay-submit=""  lay-filter="powers">倍率配置</button>
				<button class="layui-btn layui-btn-normal" lay-submit="" lay-filter="btn">抢红包</button>
				<button class="layui-btn" lay-submit="" lay-filter="demo1">立即提交</button>
				<button type="reset" class="layui-btn layui-btn-primary">重置</button>
			</div>
		</div>
	</form>

	<script src="res/layui.js" charset="utf-8"></script>
	<script src="res/jQuery.js" charset="utf-8"></script>
	<script>
		layui.use([ 'jquery', 'layer', 'form'],function() {
			var $ = layui.$, form = layui.form, layer = layui.layer;
			form.verify({
				rsMax: function(value, item) {
					if(value < 0 || value > 16) {
						return '只能输入0到16的数值';
					}
				}, dpMax: function(value, item) {
					if(value < 0 || value > 16) {
						return '只能输入0到16的数值';
					}
				}, dpMinPoint: function(value, item) {
					if(value < 0 || value > 10) {
						return '只能输入0到10的数值';
					}
				}, dpMinAmount: function(value, item) {
					if(value < 0 || value > 16) {
						return '只能输入0到16的数值';
					}
				},
			});
			//监听指定开关
			form.on('radio(HdZJ)', function(data) {
				var b = data.value=='1';
				$('[name="players.isZj"]').prop('checked', false).prop('disabled', !b).first().prop('checked', b);
				layer.tips(b ? '温馨提示：有庄家模式':'温馨提示：无庄家模式', data.othis);
				$('#d_samePoint').html(b ? '<input type="radio" name="samePoint" value="1" title="比金额" checked="" lay-filter="cmpFrontOne">'
					+'<input type="radio" name="samePoint" value="2" title="比角分" lay-filter="cmpFrontOne">'
					+'<input type="radio" name="samePoint" value="3" title="比分" lay-filter="cmpFrontOne">'
					+'<input type="radio" name="samePoint" value="4" title="庄赢" lay-filter="cmpFrontOne">'
					+'<input type="radio" name="samePoint" value="5" title="打平" lay-filter="cmpFrontOne">'
					: '<input type="radio" name="samePoint" value="1" title="比金额" checked="">'
					+'<input type="radio" name="samePoint" value="2" title="抢红包快赢">');
				$('#d_samePat').html(b ? '<input type="radio" name="samePat" value="1" title="打平" checked="">'
						+'<input type="radio" name="samePat" value="2" title="庄赢">'
						: '<input type="radio" name="samePoint" value="1" title="抢红包快赢" checked="">'
						+'<input type="radio" name="samePoint" value="2" title="下注数大赢">');
				form.render();
			});
			form.on('radio(OnlyPoint)', function(data) {
				layer.tips(data.value=='2' ? '温馨提示：纯算账不扣除用户积分':'温馨提示：积分模式扣除用户积分', data.othis)
			});
			form.on('radio(dt)', function(data){
				var dt = $('[name="samePoint"]:checked').val();
				$('[name="cmpAmount"]').prop('checked', data.value == '2' && dt == '2').prop('disabled', data.value != '2' || dt != '2');
				form.render();
			});
			form.on('radio(samePoint)', function(data){
				$('[name="cmpFrontOne"]').prop('checked', data.value == '3').prop('disabled', data.value != '3');
				var dt = $('[name="dt"]:checked').val();
				$('[name="cmpAmount"]').prop('checked', data.value == '2' && dt == '2').prop('disabled', data.value != '2' || dt != '2');
				form.render();
			});
			form.on('checkbox(mainIsEx)',  function(data){
				var v = data.value == 'Y1' ? 2 : 1;
				$('[name="players.isExe"][value="Y'+v+'"]').prop('checked', false);
				form.render();
			});
			
			$.fn.serializeObject = function(){
	    		var obj = {};
	    		$.each(this.serializeArray(), function(index){
	    			var v = this['value'];
	    			try{
	    				var t = JSON.parse(v);
	    				if(typeof(t) == 'object') {
	    					v = t;
	    				}
	    			}catch(e){}
	    		   if(this['name'].indexOf('.') > -1) {
	    			   var n = this['name'].split('.');
	    			   if(!obj[n[0]]) {
	    					obj[n[0]] = {};
		    			 	obj[n[0]][n[1]] = v;
	    			   } else {
	    				   if(obj[n[0]] instanceof Array) {
	    					   if(obj[n[0]][obj[n[0]].length - 1][n[1]]) {
	    						   var o = {};
	    						   o[n[1]] = v;
	    						   obj[n[0]].push(o);
	    					   } else {
	    						   obj[n[0]][obj[n[0]].length -1][n[1]] = v;
	    					   }
	    				   } else {
	    					   if(obj[n[0]][n[1]]) {
	    						   var o = {};
	    						   o[n[1]] = v;
		    					   obj[n[0]] = [obj[n[0]], o];
	    					   } else {
	    						   obj[n[0]][n[1]] = v;
	    					   }
	    				   }
	    			   }
	    		   } else {
	    			   if(obj[this['name']]) {
	    				   if(obj[this['name']] instanceof Array) {
	    					   obj[this['name']].push(v);
	    				   } else {
	    					   obj[this['name']] = [obj[this['name']], v];
	    				   }
	    			   } else {
	    				   obj[this['name']] = v;
	    			   }
	    		   }
	    	   });
	    		return obj;
	    	};
	    	
	    	var p = ['', "牛1", "牛2", "牛3", "牛4", "牛5", "牛6", "牛7", "牛8", "牛9", "牛牛", "金牛", "对子", "顺子", "倒顺", "满牛", "豹子","大", "小", "单", "双", "合", "大单", "小单", "大双", "小双",
				"牛1", "牛2", "牛3", "牛4", "牛5", "牛6", "牛7", "牛8", "牛9", "牛牛","庄", "闲", "和", "对庄", "对闲"];
			//监听提交
			form.on('submit(demo1)', function(data) {
				console.log($(data.form).serializeObject());
				var data = JSON.stringify($(data.form).serializeObject());
				console.log(data);
				/* layer.alert(data, {
					title : '最终的提交信息'
				}) */
				$.ajax({
					url:'/tGame',
					//url:'/api/saveGame',
					type:'post',
	        	    dataType: 'json',
                    data: data,
	        		contentType:'application/json;charset=UTF-8',
	        		success: function(rst) {
					    data = JSON.parse(data)
                        console.log(data.game_type);
					    var winWidth = 800
	        			if(rst.code == 200) {
	        				var h = '<table class="layui-table"><colgroup><col width="150"><col width="50"><col></colgroup><tbody><thead><tr><th>庄/闲</th> <th>玩家</th><th>红包</th><th>用时</th><th>押注</th><th>倍率</th><th>结果</th><th>输赢积分</th><th>剩余积分</th></tr></thead>';
	        				$.each(rst.rows, function(i, row) {
	        				    console.log(row)
                                if (row.playerGameType=="1") {//牛牛类型
                                    if (row.isZj == 'Y') {//庄家
                                        //h += '<fieldset class="layui-elem-field layui-field-title"><legend>庄家</legend></fieldset>';
                                        h += '<tr><td>庄</td><td>' + row.wxId + '</td><td>' + row.amount.toFixed(2) + '</td><td>' + row.time + '</td><td>' + row.bet + '</td><td>' + row.power + '</td><td>' + p[row.point] + '</td><td>' + row.creditScore ;
                                        if (data.isTDraw) {
                                            h += '抽水（'+row.drowPrice+'）';
                                        }
                                        h+='</td><td>' + row.newCreditScore + '</td> </tr>';
                                    } else {//闲家
                                        h+= '<tr><td>闲</td><td>'+row.wxId+'</td><td>'+row.amount.toFixed(2)+'</td><td>'+row.time+'</td><td>'+row.bet+'</td><td>'+row.power+'</td><td>'+p[row.point]+'</td><td>'+row.creditScore;
                                        if (row.drink) {
                                            h += ' 喝水';
                                        } else if (row.poker) {
                                            h += ' 梭哈';
                                        } else {
                                            h += '';
                                        }
                                        if (data.isTDraw) {
                                            h += '抽水（'+row.drowPrice+'）';
                                        }
                                        h += '</td><td>' + row.newCreditScore + '</td> </tr>';
                                    }
                                } else if (row.playerGameType == "2") {//百家乐
                                    winWidth = 800;
                                    if (row.isZj == 'Y') {//庄家
                                        //h += '<fieldset class="layui-elem-field layui-field-title"><legend>庄家</legend></fieldset>';
                                        h += '<tr><td>庄</td><td>' + row.wxId + '</td><td>' + row.amount.toFixed(2) + '</td><td>' + row.time + '</td><td>' + row.bet + '</td><td>' + row.power + '</td><td>' + p[row.point] + '</td><td>' + row.creditScore ;
                                        if (data.isTDraw) {
                                            h += '抽水（'+row.drowPrice+'）';
                                        }
                                        h+='</td><td>' + row.newCreditScore + '</td> </tr>';
                                    } else {//闲家
                                        h+= '<tr><td>闲</td><td>'+row.wxId+'</td><td>'+row.amount.toFixed(2)+'</td><td>'+row.time+'</td><td>'+row.betStr;
                                        h += '</td><td> 1赔' + row.power + '</td><td>' + p[row.point] + '</td><td>' + row.creditScore;
                                        if (row.drink) {
                                            h += ' 喝水';
                                        } else if (row.poker) {
                                            h += ' 梭哈';
                                        } else {
                                            h += '';
                                        }
                                        if (data.isTDraw) {
                                            h += '抽水（'+row.drowPrice+'）';
                                        }
                                        h += '</td><td>' + row.newCreditScore + '</td> </tr>';
                                    }
                                } else if (row.playerGameType == "3") {//大小单双和
                                    if (row.isZj == 'Y') {//庄家
                                        //h += '<fieldset class="layui-elem-field layui-field-title"><legend>庄家</legend></fieldset>';
                                        h += '<tr><td>庄</td><td>' + row.wxId + '</td><td>' + row.amount.toFixed(2) + '</td><td>' + row.time + '</td><td>' + row.bet + '</td><td>' + row.power + '</td><td>' + p[row.point] + '</td><td>' + row.creditScore ;
                                        if (data.isTDraw) {
                                            h += '抽水（'+row.drowPrice+'）';
                                        }
                                        h+='</td><td>' + row.newCreditScore + '</td> </tr>';
                                    } else {//闲家
                                        h+= '<tr><td>闲</td><td>'+row.wxId+'</td><td>'+row.amount.toFixed(2)+'</td><td>'+row.time+'</td><td>'+row.bet;
                                        if (row.sizeModel) {
                                            h +=" "+ p[row.guessSize];
                                        }
                                        h += '</td><td> 1赔' + row.power + '</td><td>' + p[row.point] + '</td><td>' + row.creditScore;
                                        if (row.drink) {
                                            h += ' 喝水';
                                        } else if (row.poker) {
                                            h += ' 梭哈';
                                        } else {
                                            h += '';
                                        }
                                        if (data.isTDraw) {
                                            h += '抽水（'+row.drowPrice+'）';
                                        }
                                        h += '</td><td>' + row.newCreditScore + '</td> </tr>';
                                    }
                                } else {//特码大小单双和
	        				        winWidth = 900;
                                    if (row.isZj == 'Y') {//庄家
                                        //h += '<fieldset class="layui-elem-field layui-field-title"><legend>庄家</legend></fieldset>';
                                        h += '<tr><td>庄</td><td>' + row.wxId + '</td><td>' + row.amount.toFixed(2) + '</td><td>' + row.time + '</td><td>' + row.bet + '</td><td>' + row.power + '</td><td>' + p[row.point] + '</td><td>' + row.creditScore ;
                                        if (data.isTDraw) {
                                            h += '抽水（'+row.drowPrice+'）';
                                        }
                                        h+='</td><td>' + row.newCreditScore + '</td> </tr>';
                                    } else {//闲家
                                        h+= '<tr><td>闲</td><td>'+row.wxId+'</td><td>'+row.amount.toFixed(2)+'</td><td>'+row.time+'</td><td>'+row.betStr;
                                        h += '</td><td> 1赔' + row.power + '</td><td>' + p[row.point] + '</td><td>' + row.creditScore;
                                        if (row.drink) {
                                            h += ' 喝水';
                                        } else if (row.poker) {
                                            h += ' 梭哈';
                                        } else {
                                            h += '';
                                        }
                                        if (data.isTDraw) {
                                            h += '抽水（'+row.drowPrice+'）';
                                        }
                                        h += '</td><td>' + row.newCreditScore + '</td> </tr>';
                                    }
                                }
	        				})
							h+='</table>';
                            /*if(row.isZj == 'Y') {
                                h += '<fieldset class="layui-elem-field layui-field-title"><legend>玩家(按输赢积分顺序显示)</legend></fieldset>';
                            }*/
		        			layer.alert(h, { title : '结果',
		    		            area: [winWidth+'px', '490px'], //宽高
		    		        });
	        			} else {
		        			layer.alert(rst.msg, { title : '结果' })
	        			}
	        		}
				});
				return false;
			});
			form.on('submit(powers)', function(data) {
				layer.open({
		            type: 1,
		            title: '赔率配置',
		            btn: ['确定'],
		            area: ['70%', '80%'], //宽高
		            content: $('#powers'), //捕获的元素
				});
				return false;
			});
            form.on('submit(powersSize)', function(data) {
                layer.open({
                    type: 1,
                    title: '大小单双倍率配置',
                    btn: ['确定'],
                    area: ['60%', '80%'], //宽高
                    content: $('#powersSize'), //捕获的元素
                });
                return false;
            });
            form.on('submit(orientation)', function(data) {
                layer.open({
                    type: 1,
                    title: '特码倍率配置',
                    btn: ['确定'],
                    area: ['60%', '80%'], //宽高
                    content: $('#orientation'), //捕获的元素
                });
                return false;
            });
            form.on('submit(baccarat)', function(data) {
                layer.open({
                    type: 1,
                    title: '特码倍率配置',
                    btn: ['确定'],
                    area: ['60%', '80%'], //宽高
                    content: $('#baccarat'), //捕获的元素
                });
                return false;
            });
			form.on('submit(btn)', function(data) {
				init();
				return false;
			});
			init();
			function init() {
				$('[name="players.amount"]').each(function() {
					$(this).val(parseFloat(Math.random() * 20 + 0.01, 10).toFixed(2));
				});
				$('[name="players.time"]').each(function() {
					$(this).val(parseInt(Math.random() * 20 + 1, 10));
				});
				$('[name="players.betStr"]').each(function() {
					$(this).val('100');
					//$(this).val(parseInt(Math.random() * 5 + 1, 10));
				});
				$('[name="players.orgCreditScore"]').each(function() {
					$(this).val('5000');
				});//upZCreditScore
                $('[name="tUpZCreditScore"]').val('5000');
			}
		});
	</script>
	<script src="index.js" charset="utf-8"></script>
</body>
</html>
